$OpenBSD: patch-Makefile,v 1.1.1.1 2016/06/01 12:11:13 jasper Exp $
--- Makefile.orig	Thu Mar 17 05:17:10 2016
+++ Makefile	Thu Apr 28 14:35:20 2016
@@ -1,9 +1,9 @@
-prefix = /usr/local
-datadir = $(prefix)/share
-confdir = /etc
-rubylibdir = $(shell ruby -rrbconfig -e "puts RbConfig::CONFIG['sitelibdir']")
-rundir = /var/run
-bindir = /usr/bin
+prefix ?= /usr/local
+datadir ?= $(prefix)/share
+confdir ?= /etc
+rubylibdir ?= $(shell ruby -rrbconfig -e "puts RbConfig::CONFIG['sitelibdir']")
+rundir ?= /var/run
+bindir ?= /usr/bin
 
 install-puppetdb:
 	install -d -m 0755 "$(DESTDIR)$(datadir)/puppetdb"
@@ -29,7 +29,6 @@ install-puppetdb:
 	install -m 0755 ext/cli/foreground "$(DESTDIR)$(datadir)/puppetdb/cli/apps/foreground"
 	install -m 0755 ext/cli/anonymize "$(DESTDIR)$(datadir)/puppetdb/cli/apps/anonymize"
 	install -m 0755 ext/cli/import "$(DESTDIR)$(datadir)/puppetdb/cli/apps/import"
-	install -d -m 0755 "$(DESTDIR)$(rundir)"
 
 
 install-puppetdb-termini:
